package com.cmcc.cmii.smsim.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author Thanks
 * @since 2020-05-26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("friend_group")
@Builder
public class FriendGroup implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId
    private Long id;

    private Long createAt;

    private String name;

    private Long uid;

    @TableField(exist = false)
    private Integer online = 0;
    @TableField(exist = false)
    private List<User> list;
    @TableField(exist = false)
    private String groupName;


}
